from django.conf.urls import patterns, include, url


# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'HomeKit.views.home', name='home'),
    # url(r'^HomeKit/', include('HomeKit.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    url(r'^addrule/', 'storage.views.addRule'),
    url(r'^updaterule/', 'storage.views.updateRule'),
    url(r'^deleterule/', 'storage.views.deleteRule'),
    url(r'^fetchallrule/', 'storage.views.Allrules'),
    url(r'^changestatus/', 'storage.views.rulestatus'),
    url(r'^adddev/', 'storage.devviews.addDev'),
    url(r'^updatedev/', 'storage.devviews.updateDev'),
    url(r'^deletedev/', 'storage.devviews.deleteDev'),
    url(r'^fetchalldev/', 'storage.devviews.Alldev'),
    url(r'^changenickname/', 'storage.views.nickname'),
    url(r'^unit/', 'storage.views.unit'),
)
